package com.wxmp.wxcms.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wxmp.wxcms.domain.RegisterUserType;
import com.wxmp.wxcms.mapper.RegisterUserTypeDao;
import com.wxmp.wxcms.service.RegisterUserTypeService;
@Service
public class RegisterUserTypeServiceImpl implements RegisterUserTypeService {

	@Autowired
	private RegisterUserTypeDao entityDao;
	
	@Override
	public RegisterUserType getById(Integer id) {
		return entityDao.getById(id);
	}


	@Override
	public void add(RegisterUserType entity) {
		entityDao.add(entity);
	}

	@Override
	public void update(RegisterUserType entity) {
		entityDao.update(entity);
	}

	@Override
	public void delete(RegisterUserType entity) {
		entityDao.delete(entity);
	}

	@Override
	public Integer deleteBatchIds(String[] ids) {
		return entityDao.deleteBatchIds(ids);
	}


	@Override
	public List<RegisterUserType> getRegisterUserListByPage(RegisterUserType entity) {
		return entityDao.getRegisterUserListByPage(entity);
	}


	@Override
	public List<RegisterUserType> findAll() {
		return entityDao.findAll();
	}
}
